package m.html.element;

import m.html.element.attr.InputType;
import m.html.element.attr.Size;
import m.html.element.other.InputElement;

public class Input extends InputElement {
	public Input(String field, InputType type) {
		super(type==InputType.TEXTAREA?"a-textarea":"a-input");
		super.setField(field);
		super.setSize(Size.DEFAULT);
		super.setDisabled("false");
		super.setPlaceholder("");
		super.A("type",type.toString());
	}
	public Input(String field) {
		this(field,InputType.TEXT);
	}

}
